package com.echat.serviceapigateway.security.model.authorization.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Created by chenmohan on 2018/09/17
 *
 * @description 权限节点，前端渲染时使用
 */
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PermissionNode {

    private String name;

    private Long value;

    private boolean checked;

    private List<PermissionNode> list;
}
